﻿using Jose;
using System.Collections.Generic;
using System;
namespace JWTTest
{
    class Program
    {
        static void Main(string[] args)
        {
            var payload = new Dictionary<string, object>(){
                { "sub", "mr.x@contoso.com" },
                { "exp", 15090115893 }
            };

            string token = Jose.JWT.Encode(payload, null, JwsAlgorithm.none);

            Console.WriteLine(token);
            Console.ReadKey();
        }
    }
}
